package com.pig4cloud.pigx.contract.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.pig4cloud.pigx.common.customize.utils.serializer.BigDecimalToPlainStringSerializer;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 获得当前最新价、标记价、指数价
 *
 * @date 2022/8/28 16:11
 */
@Data
public class ContractCurrentPriceVO {
	/**
	 * 最新价
	 */
	@JsonSerialize(using = BigDecimalToPlainStringSerializer.class)
	private BigDecimal lastPrice;
	/**
	 * 标记价
	 */
	@JsonSerialize(using = BigDecimalToPlainStringSerializer.class)
	private BigDecimal markPrice;
	/**
	 * 指数价
	 */
	@JsonSerialize(using = BigDecimalToPlainStringSerializer.class)
	private BigDecimal indexPrice;
}
